<%--
  Created by IntelliJ IDEA.
  User: zmjha
  Date: 2019/10/10
  Time: 20:50
  To change this template use File | Settings | File Templates.
--%>
<<%@ page language="java" contentType="text/html; charset=UTF-8"
          pageEncoding="UTF-8"%>
<%@taglib  prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>清单</title>
    <link rel="stylesheet" href="static/css/bootstrap.css">
</head>
<body>
<div id="data">
    <table class="table table-bordered table-striped table-hover table-responsive" >
        <caption style="font-size: 20px">
            企业工单表
        </caption>
        <thead>
        <tr>
            <th>工单编号</th>
            <th>项目名称</th>
            <th>执行人</th>
            <th>任务描述</th>
            <th>级别</th>
            <th>创建时间</th>
        </thead>
        <tbody>
            <c:forEach items="${workOrders}" var="item">
                <tr>
                    <th>${item.id}</th>
                    <th>${item.project_name}</th>
                    <th>${item.executor}</th>
                    <th>${item.description}</th>
                    <th>${item.level}</th>
                    <th>${item.create_time}</th>
                </tr>
            </c:forEach>
        </tbody>
    </table>
</div>

</body>
</html>

